package com.example.back.dto.resp;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "角色分类返回体")
public class RolesResp implements Serializable {


    @ApiModelProperty(value = "用户id")
    @JSONField(name = "ID")
    private Long id;
    @ApiModelProperty(value = "角色名称")
    @JSONField(name = "Name")
    private String name;
    @ApiModelProperty(value = "创建时间")
    @JSONField(name = "CreateTime")
    private Date createTime;

}
